<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            margin: 0px;
            padding: 0px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .buttonBar {
            margin-top: 15px;
            height: 100px;
            width: 100px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

        }

        .middiv {
            display: flex;
            justify-content: space-between;
            width: 150px;
        }

        .sidediv {
            margin: 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 150px;
        }

        button {
            border-radius: 5px;
            height: 40px;
            width: 40px;
        }

        canvas {
            box-shadow: gray 20px 10px 50px;
        }

        .hint {
            height: 100;
        }
    </style>
</head>

<body>
    <h3>Wumpus</h3>
    <canvas id="game" height="300" width="300"></canvas>
    <div class="hint">
        <p id="text1" style="visibility: hidden;">你感受到了Wumpus的气息</p>
        <p id="text2" style="visibility: hidden;">你感受到一阵微风</p>
    </div>
    <div class="buttonBar">
        <div class="sidediv">
            <button id="up"><img src="/images/arrow_up.svg" class height="20px" width="20px"></button>
            <button id="shootup" style="display: none;"><img src="/images/arrow_up.svg" class height="20px"
                    width="20px"></button>
        </div>
        <div class="middiv">
            <button id="left"><img src="/images/arrow_left.svg" class height="20px" width="20px"></button>
            <button id="shootleft" style="display: none;"><img src="/images/arrow_left.svg" class height="20px"
                    width="20px"></button>
            <button id="shoot" style="color:gray;"><img src="/images/bow.svg" class height="20px" width="20px"></button>
            <button id="right"><img src="/images/arrow_right.svg" class height="20px" width="20px"></button>
            <button id="shootright" style="display: none;"><img src="/images/arrow_right.svg" class height="20px"
                    width="20px"></button>
        </div>
        <div class="sidediv">
            <button id="down"><img src="/images/arrow_down.svg" class height="20px" width="20px"></button>
            <button id="shootdown" style="display: none;"><img src="/images/arrow_down.svg" class height="20px"
                    width="20px"></button>
        </div>
    </div>
    <script src="main.js" type="module"></script>
</body>

</html>